<%@ page  contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%> 
<script src="graphis/jquery-1.8.3.min.js"></script>
<script language="javascript">
  function checkData()
  {
	  $("#export_data").submit();
  }
</script>
	<div class="bjui-pageContent tableContent">
                       
    <form id="export_data" name="export_data" method="post" action="${pageContext.request.contextPath}/data/selectDataExport.do">
	  <table width="500" border="0" cellspacing="0" cellpadding="0">
	    <tr>
	    <td align="right">地&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;区:</td>
	    <td align="left">
                       <select name="areaCode" id="areacode">
                         <option value="">请选择</option>
                         <c:forEach var="area" items="${areaList}">
                          <option value="${area.ucode}">${area.uname}</option>
                         </c:forEach>
        </select>
	    </td>
	    </tr>
	    <tr>
	      <td align="right">开始日期:</td>
	      <td align="left"><input name="datetime" type="text" id="datetime" readonly="readonly" data-toggle="datepicker" data-rule="date"/></td>
        </tr>
	    <tr>
	      <td align="right">结束日期:</td>
	      <td align="left"><input name="datetimeend" type="text" id="datetimeend" readonly="readonly" data-toggle="datepicker" data-rule="date"/></td>
        </tr>
	    <tr>
	      <td colspan="2" align="center"><input type="button" name="button" id="button" value="导出" onclick="checkData()"/></td>
        </tr>
      </table>
   </form>
    </div>	
	